package br.com.atid.model.entity
{
	import br.com.atid.model.constants.NetElementsTypes;
	
	import flash.geom.Point;
	
	public class Transition extends NetElement
	{
		private var _isConditioned: Boolean = false;
		private var _condition:String = "";
		
		public function Transition(id:String, name:String, position:Point)
		{
			super(id, name, NetElementsTypes._TRANSITION, position);
		}

		public function get condition():String
		{
			return _condition;
		}

		public function set condition(value:String):void
		{
			_condition = value;
		}

		public function get isConditioned():Boolean
		{
			return _isConditioned;
		}

		public function set isConditioned(value:Boolean):void
		{
			_isConditioned = value;
		}

	}
}